add css class based on model value razor

80

add css class based on model value razor -

<div class="details @(@Model.Details.Count > 0 ? "show" : "hide")">

Comments

Submit
0 Comments